package com.yida.wy.basic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.yida.wy.common.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 业主信息认证对象 gwj_owner_attest
 *
 * @author lqq
 * @date 2023-08-26
 */
@Data
@ApiModel("业主信息认证对象")
@Table("gwj_owner_attest")
public class WyOwnerAttest extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @ApiModelProperty("主键ID")
    private Long ownerAttestId;

    @ApiModelProperty("小区ID")
    private Long communityId;

    @ApiModelProperty("小区名称")
    private String communityName;

    @ApiModelProperty("楼栋ID")
    private Long buildId;

    @ApiModelProperty("楼栋标识码")
    private String buildCode;

    @ApiModelProperty("楼栋名称")
    private String buildName;

    @ApiModelProperty("房屋ID")
    private Long houseId;

    @ApiModelProperty("房屋标识码")
    private String houseCode;

    @ApiModelProperty("房号")
    private String roomNum;

    @ApiModelProperty("业主名称")
    private String ownerName;

    @ApiModelProperty("手机号码")
    private String ownerPhone;

    @ApiModelProperty("证件号码")
    private String cardNum;

    @ApiModelProperty("房屋坐落）")
    private String houseLocation;

    @ApiModelProperty("产权号(证书编号)")
    private String certificateNum;

    @ApiModelProperty("房产证图片地址")
    private String certificateImgName;

    @ApiModelProperty("身份证正面")
    private String idCardAImgName;

    @ApiModelProperty("身份证反面")
    private String idCardBImgName;

    @ApiModelProperty("审核状态，1未审核，2审核不通过，3审核通过")
    private String status;

    @ApiModelProperty("审核人员ID")
    private Long approveUserId;

    @ApiModelProperty("审核人员姓名")
    private String approveUserName;

    @ApiModelProperty("审核意见")
    private String approveContent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("申核时间")
    private Date approveTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("申请时间")
    private Date applicantTime;

    @ApiModelProperty("旧业主房屋信息")
    private String oldOwnerInfo;

    @ApiModelProperty("地区ID")
    private Long areaId;

    @ApiModelProperty("街道ID")
    private Long streetId;


}
